package com.etime.shuhuiyuan.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;

//该注解用于说明是那一张表
@TableName("saler")
public class Saler {
    //该注解用于说明salerid为该表的主键，type指定了自增字段
    @TableId(value = "salerid",type = IdType.AUTO)
    private Integer salerid;
    private Integer salerdeptid;

    @Override
    public String toString() {
        return "Saler{" +
                "salerid=" + salerid +
                ", salerdeptid=" + salerdeptid +
                ", salercode='" + salercode + '\'' +
                ", salerbankname='" + salerbankname + '\'' +
                ", salerbanknum='" + salerbanknum + '\'' +
                ", salerauditstate=" + salerauditstate +
                ", salerauditdesc='" + salerauditdesc + '\'' +
                ", salertakepoint=" + salertakepoint +
                ", userid=" + userid +
                '}';
    }

    private String salercode;
    private String salerbankname;
    private String salerbanknum;
    private Integer salerauditstate;
    private String salerauditdesc;
    private BigDecimal salertakepoint;
    private Integer userid;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getSalerid() {
        return salerid;
    }

    public void setSalerid(Integer salerid) {
        this.salerid = salerid;
    }

    public Integer getSalerdeptid() {
        return salerdeptid;
    }

    public void setSalerdeptid(Integer salerdeptid) {
        this.salerdeptid = salerdeptid;
    }

    public String getSalercode() {
        return salercode;
    }

    public void setSalercode(String salercode) {
        this.salercode = salercode;
    }

    public String getSalerbankname() {
        return salerbankname;
    }

    public void setSalerbankname(String salerbankname) {
        this.salerbankname = salerbankname;
    }

    public String getSalerbanknum() {
        return salerbanknum;
    }

    public void setSalerbanknum(String salerbanknum) {
        this.salerbanknum = salerbanknum;
    }

    public Integer getSalerauditstate() {
        return salerauditstate;
    }

    public void setSalerauditstate(Integer salerauditstate) {
        this.salerauditstate = salerauditstate;
    }

    public String getSalerauditdesc() {
        return salerauditdesc;
    }

    public void setSalerauditdesc(String salerauditdesc) {
        this.salerauditdesc = salerauditdesc;
    }

    public BigDecimal getSalertakepoint() {
        return salertakepoint;
    }

    public void setSalertakepoint(BigDecimal salertakepoint) {
        this.salertakepoint = salertakepoint;
    }
}
